const path = require("path");
module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        "./src/components": path.resolve(__dirname, "src/components/"),
        "./src/plugins": path.resolve(__dirname, "src/plugins/"),
        "./src/router": path.resolve(__dirname, "src/router/"),
        "./src/store": path.resolve(__dirname, "src/store/"),
        "./src/style": path.resolve(__dirname, "src/style/"),
        "./src/utils": path.resolve(__dirname, "src/utils/"),
        "./src/views": path.resolve(__dirname, "src/views/"),
      },
    },
  },
  // devServer: {
  //   port: 808,//最终端口号会加1
  // },
};
